﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Interface_Tier;
using Transfer_Object_Tier;
using System.Data;
using Data_Access_Tier;


namespace Business_Tier
{
    public class BT_SYS_USERData : MarshalByRefObject, ISYS_USERData
    {
        SYS_USERData SYS_USER = new SYS_USERData();

        public int SYS_USER_Delete(string UserID)
        {
            return SYS_USER.SYS_USER_Delete(UserID);
        }
        public int SYS_USER_Disable(string UserID, ref bool Enabled)
        {
            return 1;
        }
        public System.Data.DataSet SYS_USER_Get(string UserID)
        {
            return SYS_USER.SYS_USER_Get(UserID);
        }
        public System.Data.DataSet SYS_USER_GetList()
        {
            return SYS_USER.SYS_USER_GetList();
        }
        public System.Data.DataSet SYS_USER_GetListByGroup_ID(string Group_ID)
        {
            return SYS_USER.SYS_USER_GetListByGroup_ID(Group_ID);
        }
        public int SYS_USER_Insert(string UserID, string UserName, string Password, string Group_ID, string Email, string Description, string PartID, bool Active)
        {
            return SYS_USER.SYS_USER_Insert(UserID,UserName,Password,Group_ID,Email,Description,PartID,Active);
        }
        public int SYS_USER_Save(string UserID, string UserName, string Password, string Group_ID, string Email, string Description, string PartID, bool Active)
        {
            return SYS_USER.SYS_USER_Save(UserID, UserName, Password, Group_ID, Email, Description, PartID, Active);
        }
        public int SYS_USER_Update(string UserID, string UserName, string Password, string Group_ID, string Email, string Description, string PartID, bool Active)
        {
            return SYS_USER.SYS_USER_Update(UserID, UserName, Password, Group_ID, Email, Description, PartID, Active);
        }
    }
}
